import request from '@/utils/request'

export function findAllPower() {
  return request({
    url: '/power/findAll',
    method: 'get',
  })
}
export function findOnePower(params) {
  return request({
    url: '/power/findOnePower',
    method: 'get',
    params
  })
}
export function edits(data) {
  return request({
    url: '/power/edit',
    method: 'post',
    data
  })
}
